class Resume {
    private String name;
    private String sex;
    private int age;

    public Resume(String name, String sex, int age) {
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public int getAge() {
        return age;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setAge(int age) {
        this.age = age;
    }
   /* void Print(){
        System.out.println("姓名:"+name);
        System.out.println("性别:"+sex);
        System.out.println("年龄:"+age);
    }*/

    @Override
    public String toString() {
        return "姓名：" + name + "\n" +
                "性别：" + sex + "\n" +
                "年龄：" + age;
    }
}
